package com.jiangxjsy.crm.service.impl;

import com.jiangxjsy.crm.mapper.CrmCustomerPoolMapper;
import com.jiangxjsy.crm.service.CrmCustomerPoolService;
import com.jiangxjsy.model.crm.entity.CrmCustomerPool;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * wukong-crm-master
 * 蒋胜宇
 * 2025/6/16 17:31
 */

@Service
public class CrmCustomerPoolServiceImpl implements CrmCustomerPoolService {
    @Resource
    private CrmCustomerPoolMapper crmCustomerPoolMapper;

    /**
     * 查询所有启用的池
     *
     * @return 启用的池
     */
    @Override
    public List<CrmCustomerPool> queryEnabledPools() {
        return crmCustomerPoolMapper.selectEnabledPools();
    }
}
